package vip.xiaonuo.biz.modular.goods.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import springfox.documentation.annotations.ApiIgnore;
import vip.xiaonuo.common.pojo.CommonParam;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 墨塵
 * @since 2022/11/18
 */
@Data
@ApiModel(value = "物品查询DTO", description = "物品查询DTO")
public class ClientGoodsQryParam {

    @ApiModelProperty(value = "每页大小")
    @NotNull
    private Integer size = 20;

    @ApiModelProperty(value = "第几页")
    @NotNull
    private Integer current = 1;

    @ApiModelProperty(value = "组柜ID")
    private String cabinetGroupId;

    @ApiModelProperty(value = "柜子ID")
    private String cabinetInfoId;

    @ApiModelProperty(value = "柜门ID")
    private String cabinetDoorId;

    @ApiModelProperty(value = "搜索关键字")
    private String searchKey;

    @ApiModelProperty(value = "物品类型（分类） 0-常规 1-试剂")
    private Integer goodsType;

    @ApiModelProperty(value = "物品分类")
    private String goodsCategory;

    @ApiModelProperty(value = "所属组织ID，来自于组织机构选择后的ID")
    private String orgId;

    @ApiModelProperty(value = "当前登录用户ID", hidden = true)
    private String userId;

    @ApiModelProperty(value = "状态 0-已报废 1-启用 2-维修中")
    private Integer state;

    @ApiModelProperty(value = "离柜标识 0-否 1-是")
    private Integer leaveFlag;

    @ApiModelProperty(value = "是否管理模式下查物品 1-管理员 0-普通用户")
    private Integer isAdmin;

    private List<String> adminCabinetInfoIds; //管理员所拥有的柜子Ids

    private String reagentClassId; // 试剂存放类型，字典值
}
